<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/promote.css"/>
<script type="text/javascript" src="/js/promote.js"></script>

<!-- 오른쪽 내용 시작 -->
<form name="promote_modify_form" method="post" action="/promote/promoteModify.desk" enctype="multipart/form-data">
	<input type="hidden" name="promoteSeq" value="<s:property value="promoteInfoDetail.promoteSeq"/>"/>
      <dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/promote/SubContents_Tit_01.gif" width="370" height="42" alt="홍보 실적" /></span> <span class="top_navi">HOME > 업무보고 > 홍보 실적</span></dd>
        <dd class="Right_Contents_Search"><img src="/images/report/apply/SubContents_Tit_CenterChoice.gif" width="81" height="21" alt="센터선택" /></dd>
         <dd class="Right_Contents_SearchOption">
         	<span style="font-weight: bold; color: blue;"><s:property value="#session.deskCodeValue"/></span>
        </dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="Writeboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="145px"><col width="245px"><col width="93px"><col width="240px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />일&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;자 <span class="TEXT_Red_Bold">*</span></th>
                    <td class="Top_line" colspan="3">
                    	<input type="text" name="promoteDate" id="datepicker1" style="width:150px;" value="<s:property value="promoteInfoDetail.promoteDate"/>"/> ~ 
                    	<input type="text" name="doneDate" id="datepicker2" style="width:150px;" value="<s:property value="promoteInfoDetail.doneDate"/>"/>
                    </td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />홍보방법 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><input type="text" name="promoteWay" maxlength="30" style="width:540px;" value="<s:property value="promoteInfoDetail.promoteWay"/>"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />대&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;상</th>
                    <td colspan="3"><input type="text" name="promoteTarget" maxlength="50" style="width:540px;" value="<s:property value="promoteInfoDetail.promoteTarget"/>"/></td>
                  </tr>   
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />수&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;량</th>
                    <td colspan="3"><input type="text" name="promoteAmount" maxlength="50" style="width:540px;" value="<s:property value="promoteInfoDetail.promoteAmount"/>"/></td>
                  </tr>               
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />내&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;용 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><textarea name="promoteContent" cols="90" rows="5"><s:property value="promoteInfoDetail.promoteContent"/></textarea></td>
                  </tr>                   
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />첨부파일</th>
                    
                 	<c:if test="${empty promoteInfoDetail.uploadFileName}">
                    <td colspan="3" class="none_line">
                    	<input type="file" name="upload" style="width:465px;"/>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   				</td>
	   				</c:if>
                  </tr>
                  <tr>
                    <td colspan="3" class="Bottom_line">
                    	<c:if test="${not empty promoteInfoDetail.uploadFileName}">
                    	<s:property value="promoteInfoDetail.uploadFileName"/> <img src="/images/report/consult/board_Icon_del.gif" id="btn_del" style="cursor:pointer"/> <br/>
                    	<span class="TEXT_Blue">(최대 40MB)</span>
                    	</c:if>
                    </td>
                  </tr>
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/promote/promoteList.desk"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone"><img src="/images/report/promote/btn_edit.gif" id="btn_promote_modify" width="115" height="26" alt="홍보실적 수정" style="cursor:pointer;"/></dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
</form>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>
